cmake_minimum_required(VERSION 3.10)

project(configDemo)

# # set(OrbbecSDK_DIR "/home/jpx/software/OrbbecSDK-1.10.12")
# set(OrbbecSDK_DIR "/usr/local/lib")
# find_package(OrbbecSDK REQUIRED)
# message(STATUS "OrbbecSDK includes: ${OrbbecSDK_INCLUDE_DIRS}")
# message(STATUS "OrbbecSDK libraries: ${OrbbecSDK_LIBRARIES}")

# find_package(OpenCV REQUIRED)
# message(STATUS "OpenCV includes: ${OpenCV_INCLUDE_DIRS}")
# message(STATUS "OpenCV libraries: ${OpenCV_LIBRARIES}")
# include_directories(
#     ${OpenCV_INCLUDE_DIRS}
# )

# include_directories(
#     ${OrbbecSDK_INCLUDE_DIRS}
#     /usr/local/include
# )

add_executable(test_configread test_configread.cpp configread.cpp configread.h)
target_link_libraries(test_configread ${OrbbecSDK_LIBS} ${OpenCV_LIBS})
